package com.hw.one.peach.da.service;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hw.one.core.result.MsgResult;
import com.hw.one.core.service.BaseService;
import com.hw.one.ext.util.UserUtil;
import com.hw.one.peach.da.dao.IPeachSiteDao;

/**
 * @author sjd
 * @date 创建时间：2017年7月28日 下午3:12:20
 * @version 1.0.0
 */
@Service
public class PeachSiteService extends BaseService implements IPeachSiteService {

	@Resource
	private IPeachSiteDao peachSiteDao;

	@Override
	public MsgResult get(Map<String, Object> map) {
		return MsgResult.okResult(peachSiteDao.get(map));
	}

	@Override
	public MsgResult getRangeBySite(Map<String, Object> params) {
		return MsgResult.okResult(peachSiteDao.getRangeBySite(params));
	}
}
